
<h2>소나무이동관리 &gt; 이동감시초소관리 </h2>
<div class="content">
 
  <section class="accordion">
    <h3>검색조건</h3>
    <div>
      <form id="form1" name="form1" method="post" action="">
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="searchTb">
          <tr>
            <th scope="row">지역선택</th>
            <td><select name="select" id="select">
                <option selected="selected">전체</option>
                <option>서울특별시</option>
                <option>경기도</option>
                <option>강원도</option>
              </select>
              <select name="select2" id="select2">
                <option>전체</option>
                <option>유성구</option>
                <option>서구</option>
                <option>동구</option>
              </select>
              <select name="select3" id="select3">
                <option>전체</option>
                <option>구암동</option>
                <option>둔산동</option>
                <option>월평동</option>
              </select></td>
            <th scope="row">관리기관</th>
            <td><input name="textfield3" type="text" class="" id="textfield3" /></td>
          </tr>
          <tr>
            <th scope="row">등록해제여부</th>
            <td colspan="3"><input type="radio" name="radio" id="radio7" value="radio" />
              등록
              <input type="radio" name="radio" id="radio8" value="radio" />
              해제
              <label for="radio8"></label></td>
          </tr>
         
          <tr>
            <th rowspan="2" scope="row">기간설정</th>
            <td colspan="3"><input type="radio" name="radio" id="radio3" value="radio" />
              <label for="radio3">등록일</label>
              <input type="radio" name="radio" id="radio4" value="radio" />
              <label for="radio4">수정일</label></td>
          </tr>
          <tr>
            <td colspan="3"><label for="textfield"></label>
              <input name="textfield" type="text" class="datepicker" id="textfield" />
              ~
              <input name="textfield2" type="text" class="datepicker" id="textfield2" /></td>
          </tr>
        </table>
        <div class="btn_dp">
          <button type="button">초기화</button>
          <button type="button" onClick="loadData()">조회</button>
        </div>
      </form>
    </div>
  </section>
  <section>
    <div>
      <div class="btn_dp">
        <button type="button">엑셀 다운로드</button>
        <a href="/Templates/이동감시초소등록.html" class="btn new">등록</a> </div>
      <div style="clear:both">
        <table id="jsonmap">
        </table>
        <div id="pjmap"> </div>
      </div>
      <script type="text/javascript">

		jQuery("#jsonmap").jqGrid({        
			url:'/sample/data12.json',
			datatype: "json",
			colNames : [
						'초소관리번호'
						,'관리기관행정코드'
						,'행정구역코드'
						,'시도'
						,'시군구'
						,'읍면동'
						,'리'
						,'위치X좌표'
						,'위치Y좌표'
						,'초소수'
						,'근무인원'
						,'년인원'
						,'실적건수'
						,'조경수'
						,'원목'
						,'제재목'
						,'통과'
						,'적발'
						,'방제명령'
						,'벌금'
						,'과태료'
						,'등록해제여부'
						,'등록해제일시'
						,'단속초소비고'
						,'등록자ID'
						,'등록일시'
						,'수정자ID'
						,'수정일시'
	
						],
			colModel:[
				{name:'초소관리번호' ,	width:100, 	align:"center", editable:true}
				,{name:'관리기관행정코드',	width:100, 	align:"center", editable:true}
				,{name:'행정구역코드',	width:100, 	align:"center", editable:true}
				,{name:'시도',	width:100, 	align:"center", editable:true}
				,{name:'시군구',	width:100, 	align:"center", editable:true}
				,{name:'읍면동',	width:100, 	align:"center", editable:true}
				,{name:'리',	width:100, 	align:"center", editable:true}
				,{name:'위치X좌표',	width:100, 	align:"center", editable:true}
				,{name:'위치Y좌표',	width:100, 	align:"center", editable:true}
				,{name:'초소수',	width:100, 	align:"center", editable:true}
				,{name:'근무인원',	width:100, 	align:"center", editable:true}
				,{name:'년인원',	width:100, 	align:"center", editable:true}
				,{name:'실적건수',	width:100, 	align:"center", editable:true}
				,{name:'조경수',	width:100, 	align:"center", editable:true}
				,{name:'원목',	width:100, 	align:"center", editable:true}
				,{name:'제재목',	width:100, 	align:"center", editable:true}
				,{name:'통과',	width:100, 	align:"center", editable:true}
				,{name:'적발',	width:100, 	align:"center", editable:true}
				,{name:'방제명령',	width:100, 	align:"center", editable:true}
				,{name:'벌금',	width:100, 	align:"center", editable:true}
				,{name:'과태료',	width:100, 	align:"center", editable:true}
				,{name:'등록해제여부',	width:100, 	align:"center", editable:true}
				,{name:'등록해제일시',	width:100, 	align:"center", editable:true}
				,{name:'단속초소비고',	width:100, 	align:"center", editable:true}
				,{name:'등록자ID',	width:100, 	align:"center", editable:true}
				,{name:'등록일시',	width:100, 	align:"center", editable:true}
				,{name:'수정자ID',	width:100, 	align:"center", editable:true}
				,{name:'수정일시',	width:100, 	align:"center", editable:true}

			]
			, rowNum:20
			, rowList:[10,20,30]
			, pager: '#pjmap'
			, viewrecords: true
			, height: '320'
			, caption : '이동감시초소리스트'
			, autowidth : true
			, shrinkToFit : false
			, editurl : 'test.jsp'
			, onSelectRow : function(rowid, status) {
				if ( status ) {
					var data = $(this).getRowData(rowid);
					$(this).newWin("이동감시초소상세.html", data['사업명']);
				}
			}
			
		});
		jQuery("#jsonmap").jqGrid('navGrid','#pjmap',{}
		, {height:280,reloadAfterSubmit:false} // edit options
		, {height:280,reloadAfterSubmit:false} // add options
		, {reloadAfterSubmit:false} // del options
		, {}
		);
		jQuery("#jsonmap").jqGrid("setFrozenColumns");
		</script> 
    </div>
  </section>
</div>
